const { Schema, model } = require('mongoose');
const pimSchema = new Schema({
    // _id: Schema.Types.ObjectId,
    name: String,
    role: String,
    iphone: String,
    joinTime: String,
    sex: String,
    age: String,
    xueLi: String,
    IDcard: String,
    workTime: String,
    image: String,
    userID: Schema.Types.ObjectId
}, { versionKey: false });
module.exports.pims = model('pims', pimSchema, 'pim');